import { Trigger } from "./Trigger";
import { defineProperties } from './Util';

export class Viewer extends Trigger {
    /**
     * Create a 3D Scene
     * @param {Object} options        options passed to canvas.getContext('webgl2', options)
     */
    constructor(options) {
        super();
        this.options = options || {};
        this.name = 'Viewer';
    }

    /**
     * 初始化
     */
    init() {

    }
}

defineProperties(Viewer.prototype, [
    /**
      * name
      * @type {String}
      * @name 
      * @readOnly
      */
    {
        name: 'name',
    },
]);
